package cn.edu.gzgs.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 批量更新用户状态DTO
 *
 * @author Zyf
 */
@Data
@Schema(description = "批量更新用户状态DTO")
public class UserStatusUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户ID列表", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "用户ID列表不能为空")
    @Size(min = 1, message = "至少需要一个用户ID")
    private List<Long> userIds;

    @Schema(description = "用户状态：1-正常，0-禁用", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "状态不能为空")
    private Integer status;
} 